2014-11-05
git is a useful tool for
suggestion: not in your desktop
cd path/to/your/directory
git init
nano # This is my title
git statusgit add README.mdgit commit -m "adding a readme file"git statusgit add .git commit -m "adding my name"git add .git commitgit add .git commitgit log
git log -p -3
This is the main thing to remember about Git if you want the rest of your learning process to go smoothly. Git has three main states that your files can reside in: committed, modified, and staged. git book
To the side!
git branch
To the back!
git checkout
Follow the steps!
git remote add origin https://github.com/aammd/practice.git git push -u origin master
Cloning a repository gives you a copy Let's clone this repository
https://github.com/aammd/git-dance